class Test {

	public static void main(String[] args) {
//calculate sum of array Elements		
		int[] a = {12,3,4,5,6,7,8,9,10};
		System.out.println("Sum of Array elements is: " + Calculator.SumOfArray(a));
	
//Random integer Array	
		System.out.println("Integer Array of 10 no is. ");
		Calculator.printInt(Calculator.randInt(10));
		System.out.println("Sum of Array elements is:" + Calculator.SumOfArray(Calculator.randInt(10)));
	
//max in an array
			int[] arr=Calculator.randInt(10);
			int max = Calculator.maxArr(arr);
			
			System.out.println("Maximum in Array"); 
			Calculator.printInt(arr);
			System.out.println("is : " + max);
// reverse an integer array
			System.out.println("Integer Array");
			Calculator.printInt(arr);
			int[] rev = Calculator.revInt(arr);
			
			System.out.println("Reversed  Integer array is:"); 
			Calculator.printInt(rev);
			
// reverse an Char array			
			
			char[] arr1 =  Calculator.rand_char(25);
			System.out.println("Char Array");
			Calculator.printChar(arr1);
			char[] rev1 = Calculator.revChar(arr1);
			
			System.out.println("Reversed Char array is:"); 
			Calculator.printChar(rev1);
//Count no. of vowels

			char[] arr2 =  Calculator.randChar(25);
			System.out.println("Char Array");
			Calculator.printChar(arr2);
			int count = Calculator.countVowel(arr2);
			System.out.println("No. of Vowels is :" + count);
			
//Generate even nos between num1 & num2
		System.out.println("\n\nGenerate even nos between num1 & num2");
		int[] even = Calculator.genEven(30,60);
		Calculator.printInt(even);
//Generate Odd nos between num1 & num2
		System.out.println("Generate Odd nos between num1 & num2");
		int[] odd = Calculator.genOdd(30,60);
		Calculator.printInt(odd);
//Generate Prime nos between num1 & num2
		System.out.println("Generate Prime nos between num1 & num2");
		int[] prime = Calculator.genPrime(10,20);
		Calculator.printInt(prime);
	System.out.println("\nKey is :"+bkey +"  Res is :"+ Calculator.binary_search(binary,bkey)+"Pos");

//Fibonacci series using array

		int[] fibbo = Calculator.genFibbo(10);
		System.out.println("Fibbonacci series ");
		Calculator.printInt(fibbo);
		
		
	}
}